Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / NamedObjectCollection<T> Class / CopyTo Method
The one-dimensional System.Array that is the destination of the values copied from the collection.
The index of the array at which to begin inserting.


In This Topic
    CopyTo Method (NamedObjectCollection<T>)
    In This Topic
    Copies the collection objects to a one-dimensional System.Array instance beginning at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal array() As T, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As NamedObjectCollection(Of T)
    Dim array() As T
    Dim index As Integer
     
    instance.CopyTo(array, index)
    public void CopyTo( 
       T[] array,
       int index
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the values copied from the collection.
    index
    The index of the array at which to begin inserting.
    See Also